package com.dhcc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcc.entity.SysUserResource;

import java.util.List;

public interface SysUserResourceService extends IService<SysUserResource> {
    SysUserResource getResourceList(String resourceId);

    SysUserResource getResourceById(String resourceId);

    List<SysUserResource> selectResourceList(String institutionId, String institutionRoleId, String departmentId, String positionId);

    Integer addResource(SysUserResource sysUserResource);

    Integer updateResource(SysUserResource sysUserResource);

    Integer deleteResource(String resourceId);

    List<SysUserResource> getResourceListByParentId(String resourceId);

    List<SysUserResource> getAllResourceList();
}
